/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.shop;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 店铺企业信息Entity
 * @author 李欣荣
 * @version 2018-10-08
 */
public class HkEnterShopCompanyInfo extends DataEntity<HkEnterShopCompanyInfo> {
	
	private static final long serialVersionUID = 1L;
	private HkUserShop shop;		// 店铺
	private String companyName;		// 公司名称
	private String provinceCode;		// 省/直辖市代码
	private String cityCode;		// 市代码
	private String areaCode;		// 区/县代码
	private String creditCode;		// 统一社会信用代码
	private String businessLicenseImgSrc;		// 营业执照图片路径
	private String openingPermitImgSrc;		// 开户许可证
	private String state;		// 状态
	private String provinceName;
	private String cityName;
	private String areaName;





	public HkEnterShopCompanyInfo() {
		super();
	}

	public HkEnterShopCompanyInfo(String id){
		super(id);
	}

	public HkUserShop getShop() {
		return shop;
	}

	public void setShop(HkUserShop shop) {
		this.shop = shop;
	}
	
	@Length(min=0, max=32, message="公司名称长度必须介于 0 和 32 之间")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	@Length(min=0, max=32, message="省/直辖市代码长度必须介于 0 和 32 之间")
	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}
	
	@Length(min=0, max=32, message="市代码长度必须介于 0 和 32 之间")
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	
	@Length(min=0, max=32, message="区/县代码长度必须介于 0 和 32 之间")
	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	
	@Length(min=0, max=32, message="统一社会信用代码长度必须介于 0 和 32 之间")
	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}
	
	@Length(min=0, max=200, message="营业执照图片路径长度必须介于 0 和 200 之间")
	public String getBusinessLicenseImgSrc() {
		return businessLicenseImgSrc;
	}

	public void setBusinessLicenseImgSrc(String businessLicenseImgSrc) {
		this.businessLicenseImgSrc = businessLicenseImgSrc;
	}
	
	@Length(min=0, max=200, message="开户许可证长度必须介于 0 和 200 之间")
	public String getOpeningPermitImgSrc() {
		return openingPermitImgSrc;
	}

	public void setOpeningPermitImgSrc(String openingPermitImgSrc) {
		this.openingPermitImgSrc = openingPermitImgSrc;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
}